creating instance of labelled fields data type [closed]

Posted by sisif on Stack Overflow See other posts from Stack Overflow or by sisif
Published on 2010-05-30T09:26:32Z Indexed on 2010/05/30 23:32 UTC
Read the original article Hit count: 223

Filed under:
|
|
|
|

How do I create an instance of a "labelled fields data type"?

data InputData = InputData { events :: [Event], newResources :: [Resource] }
myInputData :: InputData
myInputData = ???

© Stack Overflow or respective owner

Related posts about beginner

Related posts about data